# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=atkmm
pkgver=2.28.3
pkgrel=1
pkgdesc="C++ bindings for atk"
options="!check" # No testsuite
url="https://www.gtkmm.org/en/"
arch="all"
license="LGPL-2.0-or-later"
makedepends="at-spi2-core-dev glibmm-dev libsigc++-dev meson"
subpackages="$pkgname-dev"
source="https://download.gnome.org/sources/atkmm/${pkgver%.*}/atkmm-$pkgver.tar.xz"

replaces="gtkmm"

build() {
	abuild-meson . output
	meson compile -C output
}

check() {
	meson test --no-rebuild --print-errorlogs -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
ebc25e9de4b9de6df7097ab485fb0675d8c83113d99a444eec91df0908073362bfdaa9b03fc4c3e91766109d9b94b88df041851176ecde578cf932b526ef678e  atkmm-2.28.3.tar.xz
"
